//
//  NoteMapView.h
//  geoNotes
//
//  Created by Administrator on 6/24/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Mapkit/MapKit.h>
#import "Note.h"
#import "NoteDetailsView.h"
#import "NoteDB.h"
@protocol NoteMapViewControllerDelegate
-(void) noteMapViewDidFinish;
@end

@interface NoteMapView : UIViewController<MKMapViewDelegate,NoteDetailsViewControllerDelegate> {
    
    MKMapView *mapView;
}
@property (nonatomic, retain) IBOutlet MKMapView *mapView;
@property (nonatomic, assign) id <NoteMapViewControllerDelegate> delegate;
@property (nonatomic,assign) NSMutableArray *db;
@property (nonatomic,assign) NoteDB *notedb;
- (IBAction)onReturn:(id)sender;
-(void) updateAnnotions;
@end
